this.BX=this.BX||{};this.BX.Landing=this.BX.Landing||{};(function(n,e,s){"use strict";var i=function(){function n(){babelHelpers.classCallCheck(this,n)}babelHelpers.createClass(n,null,[{key:"unbindMenuItem",value:function n(i,t,a){s.MessageBox.confirm(e.Loc.getMessage("LANDING_CONNECTOR_INTRANET_HIDE_ALERT_MESSAGE"),e.Loc.getMessage("LANDING_CONNECTOR_INTRANET_HIDE_ALERT_TITLE").replaceAll("#title#",a),function(){BX.ajax({url:BX.message("SITE_DIR")+"kb/binding/menu/",method:"POST",data:{action:"unbind",param:t,menuId:i,sessid:BX.message("bitrix_sessid"),actionType:"json"},dataType:"json",onsuccess:function n(e){if(e){top.window.location.reload()}}})},e.Loc.getMessage("LANDING_CONNECTOR_INTRANET_HIDE_ALERT_BUTTON"))}}]);return n}();n.Intranet=i})(this.BX.Landing.Connector=this.BX.Landing.Connector||{},BX.Landing,BX.UI.Dialogs);
//# sourceMappingURL=connector.intranet.bundle.map.js